Given /^I am signed in$/ do
  @browser.a(:href => 'https://secure.newegg.com/NewMyAccount/Index.aspx').should == @browser.a(:text => 'klink rtroha')
end

When /^I click on the log out link$/ do
  @browser.link(:href => 'https://secure.newegg.com/NewMyAccount/AccountLogout.aspx').click
end

Then /^I will be logged out$/ do
  @browser.div(:id => 'infoContent').p(:text => "You are successfully logged out.").should == @browser.p(:text => "You are successfully logged out.")
  #@browser.close
end